#!/bin/sh
echo -------------build proto-----------
rm src/com/protocpp/*.cc
rm src/com/protocpp/*.cpp
rm src/com/protocpp/*.h
cd src/com/proto
../../../external/protobuf-3.20.0/out/bin/protoc --cpp_out=../protocpp *.proto
cd -
echo -------------build proto end-----------
